//
//  OneAuthorizeCodeViewController.h
//  lTTheOne
//
//  Created by sy on 2025/7/24.
//  授权码VC

#import "OneBaseRootViewController.h"
#import "OneAuthorizeCodeView.h"

NS_ASSUME_NONNULL_BEGIN
@protocol OneAuthorizeCodeViewControllerDelegate <NSObject>
@optional
///设置授权码
- (void)authorizeCodeSetAction:(BOOL)success;
///校验本地授权码
- (void)authorizeCodeCheckResult:(BOOL)success;
///页面即将消失
- (void)authorizeCodeViewWillDisappear;

@end

@interface OneAuthorizeCodeViewController : OneBaseRootViewController
///授权码状态
@property (nonatomic,assign) authorizeState codeState;
///授权码类型
@property (nonatomic,assign) authorizeCode codeType;
/**授权码本地校验*/
@property (nonatomic,assign) BOOL isLocalCheck;

@property (nonatomic,weak) id<OneAuthorizeCodeViewControllerDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
